﻿@{
    ViewBag.Title = "IndoorIndex";
}

<link href="~/Content/BootstrapSouce/css/bootstrap.css" rel="stylesheet" />
<script src="~/Content/BootstrapSouce/js/jquery.min.js"></script>
<script src="~/Content/BootstrapSouce/js/bootstrap.min.js"></script>
<script src="~/Content/EasyUI/jquery.min.js"></script>





<table class="table table-striped">
    <tr><td>房屋实际用途:<select id="indoor_Purpose"><option value="1">住宅</option><option value="2">租房</option><option value="3">海景房</option></select></td></tr>
   
     <tr><td>总楼层:<input type="text" id="indoor_LayerNum" /></td></tr>
   
     <tr><td>所在楼层:<input type="text" id="indoor_Layer" /></td></tr>
 
       <tr><td>朝向:<select id="indoor_Orientation"><option value="1">东</option><option value="2">西</option><option value="3">南</option><option value="4">北</option></select></td></tr>
  
      <tr><td>住在类型:<select id="indoor_Residence"><option value="1">平层</option><option value="2">断层</option><option value="3">上下层</option></select></td></tr>
 
       <tr><td>户型:<input type="text" id="HuXing" style="width:45px" />卧室:<input type="text" id="indoor_Bedroom" style="width:45px" />客厅:<input type="text" id="indoor_Hall" style="width:45px" />卫生间:<input type="text" id="indoor_Toilet" style="width:45px" />厨房:<input type="text" id="indoor_Kitchen" style="width:45px" />阳台:<input type="text" id="indoor_Balcony" style="width:45px" />露台:<input type="text" id="indoor_Terrace" style="width:45px" />小院:<input type="text" id="indoor_Yard" style="width:45px" /></td></tr>
  
    <tr><td>客厅装修程度:<select id="indoor_HallDegree"><option value="1">普通装修</option><option value="2">精美壮美</option></select></td></tr>
    <tr><td>客厅装修情况  :   内墙:    <input type="checkbox" name="living_Wall" value="1"/>涂料&nbsp; &nbsp;<input type="checkbox" name="living_Wall" value="2"/>壁纸&nbsp; &nbsp;<input type="checkbox" name="living_Wall" value="3"/>石材&nbsp; &nbsp;其他<input type="text" id="livingWall_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 顶棚:    <input type="checkbox" name="living_Ceiling" value="1"/>涂料&nbsp; &nbsp;<input type="checkbox" name="living_Ceiling" value="2"/>吊顶&nbsp; &nbsp;其他<input type="text" name="livingCeiling_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;  地面:    <input type="checkbox" name="living_Ground" value="1"/>瓷砖&nbsp; &nbsp;<input type="checkbox" name="living_Ground" value="2" />地砖&nbsp; &nbsp;<input type="checkbox" name="living_Ground" value="3" />石材&nbsp; &nbsp;其他<input type="text" id="livingGround_Other" />&nbsp; &nbsp;</td></tr>
    
    
    <tr><td>居室装修程度:<select id="indoor_RoomDegree"><option value="1">普通装修</option><option value="2">精美壮美</option></select></td></tr>
    <tr><td>居室装修情况  :   内墙:    <input type="checkbox" name="room_Wall" value="1" />涂料&nbsp; &nbsp;<input type="checkbox" name="room_Wall" value="2" />壁纸&nbsp; &nbsp;<input type="checkbox" name="room_Wall"  value="3"/>石材&nbsp; &nbsp;其他<input type="text" id="roomWall_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 顶棚:    <input type="checkbox" name="room_Ceiling" value="1" />涂料&nbsp; &nbsp;<input type="checkbox" name="room_Ceiling" value="2" />吊顶&nbsp; &nbsp;其他<input type="text" id="roomCeiling_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;  地面:    <input type="checkbox" name="room_Ground"  value="1"/>瓷砖&nbsp; &nbsp;<input type="checkbox" name="room_Ground" value="2" />地砖&nbsp; &nbsp;<input type="checkbox" name="room_Ground" value="3" />石材&nbsp; &nbsp;其他<input type="text" id="roomGround_Other" />&nbsp; &nbsp;</td></tr>


    <tr><td>卫生间装修程度:<select id="indoor_ToiletDegree"><option value="1">普通装修</option><option>精美装修</option><option>顶级装修</option></select></td></tr>
    <tr><td>卫生间装修情况  :   内墙:    <input type="checkbox" name="toilet_Wall"  value="1"/>涂料&nbsp; &nbsp;<input type="checkbox" name="toilet_Wall" value="2" />壁纸&nbsp; &nbsp;<input type="checkbox" name="toilet_Wall" value="3" />石材&nbsp; &nbsp;其他<input type="text" id="toiletWall_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 顶棚:    <input type="checkbox" name="toilet_Ceiling"  value="1"/>涂料&nbsp; &nbsp;<input type="checkbox" name="toilet_Ceiling" value="2" />吊顶&nbsp; &nbsp;其他<input type="text" id="toiletCeiling_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;  地面:    <input type="checkbox" name="toilet_Ground" value="1" />瓷砖&nbsp; &nbsp;<input type="checkbox" name="toilet_Ground" value="2" />地砖&nbsp; &nbsp;<input type="checkbox" name="toilet_Ground" value="3" />石材&nbsp; &nbsp;其他<input type="text" id="toiletGround_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;  洁具情况:<input type="checkbox" name="toilet_Sanitary"  value="1"/>灶台&nbsp; &nbsp;<input type="checkbox" name="toilet_Sanitary" value="2" />成套橱柜&nbsp; &nbsp;其他<input type="text" id="toiletSanitary_Other" /></td></tr>


    <tr><td>厨房装修程度:<select id="indoor_KitchenDegree"><option value="1">普通装修</option><option>精美装修</option><option>顶级装修</option></select></td></tr>
    <tr><td>厨房装修情况  :   内墙:    <input type="checkbox" name="kitchen_Wall" value="1" />涂料&nbsp; &nbsp;<input type="checkbox" name="kitchen_Wall" value="2" />壁纸&nbsp; &nbsp;<input type="checkbox" name="kitchen_Wall" value="3" />石材&nbsp; &nbsp;其他<input type="text" id="kitchenWall_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 顶棚:    <input type="checkbox" name="kitchen_Ceiling"  value="1"/>涂料&nbsp; &nbsp;<input type="checkbox" name="kitchen_Ceiling" value="2" />吊顶&nbsp; &nbsp;其他<input type="text" id="kitchenCeiling_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;  地面:    <input type="checkbox" name="kitchen_Ground" value="1" />瓷砖&nbsp; &nbsp;<input type="checkbox" name="kitchen_Ground" value="2" />地砖&nbsp; &nbsp;<input type="checkbox" value="3" />石材&nbsp; &nbsp;其他<input type="text" id="kitchenGround_Other" />&nbsp; &nbsp;</td></tr>
    <tr><td>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;  灶台情况:<input type="checkbox" name="kitchen_Cooking" value="1" />灶台&nbsp; &nbsp;<input type="checkbox" name="kitchen_Cooking" value="2" />成套橱柜&nbsp; &nbsp;其他<input type="text" id="kitchenCookingO_ther" /></td></tr>
    <tr><td>其他<textarea id="indoor_Explain" style="width:300px;height:60px;"></textarea></td></tr>
    <tr><td><input id="ins" type="button" value="保存" class="btn btn-success" onclick="Add(1)" /><input id="upd" type="button" value="修改" class="btn btn-success" onclick="Add(2)" /></td></tr>
</table>




<script>
    $("#upd").hide();
    var urls = "http://localhost:63805/";
    var Urls = window.location.href;
    var Sums = Urls.split("=");
    var projectNumber = Sums[1];                   //项目编号
    inoor(projectNumber);

    function Add(id) {
        var indoor_Purpose = $("#indoor_Purpose").val();   //房屋实际用途
        var indoor_LayerNum = $("#indoor_LayerNum").val();   //总楼层
        var indoor_Layer = $("#indoor_Layer").val();   //所在楼层
        var indoor_Orientation = $("#indoor_Orientation").val();   //朝向
        var indoor_Residence = $("#indoor_Residence").val();   //住宅类型

        var HuXing = $("#HuXing").val();   //户型
        var indoor_Bedroom = $("#indoor_Bedroom").val();   //卧室
        var indoor_Hall = $("#indoor_Hall").val();   //客厅
        var indoor_Toilet = $("#indoor_Toilet").val();   //卫生间
        var indoor_Kitchen = $("#indoor_Kitchen").val();   //厨房
        var indoor_Balcony = $("#indoor_Balcony").val();   //阳台
        var indoor_Terrace = $("#indoor_Terrace").val();   //露台
        var indoor_Yard = $("#indoor_Yard").val();   //小院


        var indoor_HallDegree = $("#indoor_HallDegree").val();   //客厅装修程度
        var living_Wall = $("[name='living_Wall']:checked").val(); //客厅内墙
        var living_Ceiling = $("[name='living_Ceiling']:checked").val(); //客厅顶棚
        var living_Ground = $("[name='living_Ground']:checked").val(); //客厅地面
        //alert(living_Ground);

        var indoor_RoomDegree = $("#indoor_RoomDegree").val();   //居室装修程度
        var room_Wall = $("[name='room_Wall']:checked").val(); //居室内墙
        var room_Ceiling = $("[name='room_Ceiling']:checked").val(); //居室顶棚
        var room_Ground = $("[name='room_Ground']:checked").val(); //居室地面

        var indoor_ToiletDegree = $("#indoor_ToiletDegree").val();   //卫生间装修程度
        var toilet_Wall = $("[name='toilet_Wall']:checked").val(); //卫生间内墙
        var toilet_Ceiling = $("[name='toilet_Ceiling']:checked").val(); //卫生间顶棚
        var toilet_Ground = $("[name='toilet_Ground']:checked").val(); //卫生间地面
        var toilet_Sanitary = $("[name='toilet_Sanitary']:checked").val(); //卫生间洁具情况

        var indoor_KitchenDegree = $("#indoor_KitchenDegree").val();   //厨房装修程度
        var kitchen_Wall = $("[name='kitchen_Wall']:checked").val(); //厨房内墙
        var kitchen_Ceiling = $("[name='kitchen_Ceiling']:checked").val(); //厨房顶棚
        var kitchen_Ground = $("[name='kitchen_Ground']:checked").val(); //厨房地面
        var kitchen_Cooking = $("[name='kitchen_Cooking']:checked").val(); //厨房灶台情况

        var indoor_Explain = $("#indoor_Explain").val();   //有关说明

        var livingWall_Other = $("#livingWall_Other").val();   //客厅内墙其他
        var livingCeiling_Other = $("#livingCeiling_Other").val();   //客厅顶棚其他
        var livingGround_Other = $("#livingGround_Other").val();   //客厅地面其他

        var roomWall_Other = $("#roomWall_Other").val();   //居室内墙其他
        var roomCeiling_Other = $("#roomCeiling_Other").val();   //居室顶棚其他
        var roomGround_Other = $("#roomGround_Other").val();   //居室地面其他


        var toiletWall_Other = $("#toiletWall_Other").val();   //卫生间内墙其他
        var toiletCeiling_Other = $("#toiletCeiling_Other").val();   //卫生间顶棚其他
        var toiletGround_Other = $("#toiletGround_Other").val();   //卫生间地面其他
        var toiletSanitary_Other = $("#toiletSanitary_Other").val();   //卫生间洁具其他

        var kitchenWall_Other = $("#kitchenWall_Other").val();   //厨房内墙其他
        var kitchenCeiling_Other = $("#kitchenCeiling_Other").val();   //厨房顶棚其他
        var kitchenGround_Other = $("#kitchenGround_Other").val();   //厨房地面其他
        var kitchenCookingO_ther = $("#kitchenCookingO_ther").val();   //厨房灶台其他
        if (id == 1)
        {
            $.ajax({
                type: "post",
                url: "http://localhost:63805/apis/Indoor/IndoorAdd",
                data: {
                    projectNumber: projectNumber, indoor_Purpose: indoor_Purpose, indoor_LayerNum: indoor_LayerNum, indoor_Layer: indoor_Layer, indoor_Orientation: indoor_Orientation, indoor_Residence: indoor_Residence,
                    HuXing: HuXing, indoor_Bedroom: indoor_Bedroom, indoor_Hall: indoor_Hall, indoor_Toilet: indoor_Toilet, indoor_Kitchen: indoor_Kitchen, indoor_Balcony: indoor_Balcony, indoor_Terrace: indoor_Terrace, indoor_Yard: indoor_Yard,
                    indoor_HallDegree: indoor_HallDegree, living_Wall: living_Wall, living_Ceiling: living_Ceiling, living_Ground: living_Ground,
                    indoor_RoomDegree: indoor_RoomDegree, room_Wall: room_Wall, room_Ceiling: room_Ceiling, room_Ground: room_Ground,
                    indoor_ToiletDegree: indoor_ToiletDegree, toilet_Wall: toilet_Wall, toilet_Ceiling: toilet_Ceiling, toilet_Ground: toilet_Ground, toilet_Sanitary: toilet_Sanitary,
                    indoor_KitchenDegree: indoor_KitchenDegree, kitchen_Wall: kitchen_Wall, kitchen_Ceiling: kitchen_Ceiling, kitchen_Ground: kitchen_Ground, kitchen_Cooking: kitchen_Cooking,
                    indoor_Explain: indoor_Explain, livingWall_Other: livingWall_Other, livingCeiling_Other: livingCeiling_Other, livingGround_Other: livingGround_Other,
                    roomWall_Other: roomWall_Other, roomCeiling_Other: roomCeiling_Other, roomGround_Other: roomGround_Other,
                    toiletWall_Other: toiletWall_Other, toiletCeiling_Other: toiletCeiling_Other, toiletGround_Other: toiletGround_Other, toiletSanitary_Other: toiletSanitary_Other,
                    kitchenWall_Other: kitchenWall_Other, kitchenCeiling_Other: kitchenCeiling_Other, kitchenGround_Other: kitchenGround_Other, kitchenCookingO_ther: kitchenCookingO_ther


                },
                success: function (obj) {
                    if (obj > 0) {
                        alert("添加成功!");
                        window.history.back(-1);
                    }
                    else {
                        alert("失败");
                    }
                }
            })
        }else
        {
            $.ajax({
                type: "put",
                url: "http://localhost:63805/api/Indoor/" + projectNumber,
                data: {
                    projectNumber: projectNumber, indoor_Purpose: indoor_Purpose, indoor_LayerNum: indoor_LayerNum, indoor_Layer: indoor_Layer, indoor_Orientation: indoor_Orientation, indoor_Residence: indoor_Residence,
                    HuXing: HuXing, indoor_Bedroom: indoor_Bedroom, indoor_Hall: indoor_Hall, indoor_Toilet: indoor_Toilet, indoor_Kitchen: indoor_Kitchen, indoor_Balcony: indoor_Balcony, indoor_Terrace: indoor_Terrace, indoor_Yard: indoor_Yard,
                    indoor_HallDegree: indoor_HallDegree, living_Wall: living_Wall, living_Ceiling: living_Ceiling, living_Ground: living_Ground,
                    indoor_RoomDegree: indoor_RoomDegree, room_Wall: room_Wall, room_Ceiling: room_Ceiling, room_Ground: room_Ground,
                    indoor_ToiletDegree: indoor_ToiletDegree, toilet_Wall: toilet_Wall, toilet_Ceiling: toilet_Ceiling, toilet_Ground: toilet_Ground, toilet_Sanitary: toilet_Sanitary,
                    indoor_KitchenDegree: indoor_KitchenDegree, kitchen_Wall: kitchen_Wall, kitchen_Ceiling: kitchen_Ceiling, kitchen_Ground: kitchen_Ground, kitchen_Cooking: kitchen_Cooking,
                    indoor_Explain: indoor_Explain, livingWall_Other: livingWall_Other, livingCeiling_Other: livingCeiling_Other, livingGround_Other: livingGround_Other,
                    roomWall_Other: roomWall_Other, roomCeiling_Other: roomCeiling_Other, roomGround_Other: roomGround_Other,
                    toiletWall_Other: toiletWall_Other, toiletCeiling_Other: toiletCeiling_Other, toiletGround_Other: toiletGround_Other, toiletSanitary_Other: toiletSanitary_Other,
                    kitchenWall_Other: kitchenWall_Other, kitchenCeiling_Other: kitchenCeiling_Other, kitchenGround_Other: kitchenGround_Other, kitchenCookingO_ther: kitchenCookingO_ther


                },
                success: function (obj) {
                    if (obj > 0) {
                        alert("修改成功!");
                        window.history.back(-1);
                    }
                    else {
                        alert("失败");
                    }
                }
            })
        }
       
    }

    function inoor(id) {
        $.ajax({
            url: urls + "api/Indoor/" + id,
            dataType: "json",
            type: "get",
            success: function (obj) {

                if (obj != null)
                {
                    $("#upd").show();
                    $("#ins").hide();
                    var indoor_Purpose = $("#indoor_Purpose").val(obj.indoor_Purpose);   //房屋实际用途
                    var indoor_LayerNum = $("#indoor_LayerNum").val(obj.indoor_LayerNum);   //总楼层
                    var indoor_Layer = $("#indoor_Layer").val(obj.indoor_Layer);       //所在楼层
                    var indoor_Orientation = $("#indoor_Orientation").val(obj.indoor_Orientation);   //朝向
                    var indoor_Residence = $("#indoor_Residence").val(obj.indoor_Residence);   //住宅类型

                    var HuXing = $("#HuXing").val(obj.HuXing);   //户型
                    var indoor_Bedroom = $("#indoor_Bedroom").val(obj.indoor_Bedroom);   //卧室
                    var indoor_Hall = $("#indoor_Hall").val(obj.indoor_Hall);   //客厅
                    var indoor_Toilet = $("#indoor_Toilet").val(obj.indoor_Toilet);   //卫生间
                    var indoor_Kitchen = $("#indoor_Kitchen").val(obj.indoor_Kitchen);   //厨房
                    var indoor_Balcony = $("#indoor_Balcony").val(obj.indoor_Balcony);   //阳台
                    //alert(obj.indoor_Terrace)
                    var indoor_Terrace = $("#indoor_Terrace").val(obj.indoor_Terrace);   //露台
                    var indoor_Yard = $("#indoor_Yard").val(obj.indoor_Yard);   //小院
                    var indoor_HallDegree = $("#indoor_HallDegree").val(obj.indoor_HallDegree);   //客厅装修程度

                    var living_Wall = $("[name='living_Wall']:checkbox").each(function () {
                        if ($(this).val() == obj.living_Wall) {

                            $(this).prop("checked", true);
                        }
                    }) //客厅内墙
                    var living_Ceiling = $("[name='living_Ceiling']:checkbox").each(function () {
                        if ($(this).val() == obj.living_Ceiling) {

                            $(this).prop("checked", true);
                        }
                    }); //客厅顶棚
                    //alert(obj.living_Ground)
                    var living_Ground = $("[name='living_Ground']:checkbox").each(function () {
                        if ($(this).val() == obj.living_Ground) {

                            $(this).prop("checked", true);
                        }
                    }); //客厅地面

                    var indoor_RoomDegree = $("#indoor_RoomDegree").val(obj.indoor_RoomDegree);   //居室装修程度
                    var room_Wall = $("[name='room_Wall']:checkbox").each(function () {
                        if ($(this).val() == obj.room_Wall) {

                            $(this).prop("checked", true);
                        }
                    }); //居室内墙
                    var room_Ceiling = $("[name='room_Ceiling']:checkbox").each(function () {
                        if ($(this).val() == obj.room_Ceiling) {

                            $(this).prop("checked", true);
                        }
                    }); //居室顶棚
                    var room_Ground = $("[name='room_Ground']:checkbox").each(function () {
                        if ($(this).val() == obj.room_Ground) {

                            $(this).prop("checked", true);
                        }
                    }); //居室地面

                    var indoor_ToiletDegree = $("#indoor_ToiletDegree").val(obj.indoor_ToiletDegree);   //卫生间装修程度
                    var toilet_Wall = $("[name='toilet_Wall']:checkbox").each(function () {
                        if ($(this).val() == obj.toilet_Wall) {

                            $(this).prop("checked", true);
                        }
                    }); //卫生间内墙
                    var toilet_Ceiling = $("[name='toilet_Ceiling']:checkbox").each(function () {
                        if ($(this).val() == obj.toilet_Ceiling) {

                            $(this).prop("checked", true);
                        }
                    }); //卫生间顶棚
                    var toilet_Ground = $("[name='toilet_Ground']:checkbox").each(function () {
                        if ($(this).val() == obj.toilet_Ground) {

                            $(this).prop("checked", true);
                        }
                    }); //卫生间地面
                    var toilet_Sanitary = $("[name='toilet_Sanitary']:checkbox").each(function () {
                        if ($(this).val() == obj.toilet_Sanitary) {

                            $(this).prop("checked", true);
                        }
                    }); //卫生间洁具情况

                    var indoor_KitchenDegree = $("#indoor_KitchenDegree").val(obj.indoor_KitchenDegree);   //厨房装修程度
                    var kitchen_Wall = $("[name='kitchen_Wall']:checkbox").each(function () {
                        if ($(this).val() == obj.kitchen_Wall) {

                            $(this).prop("checked", true);
                        }
                    }); //厨房内墙
                    var kitchen_Ceiling = $("[name='kitchen_Ceiling']:checkbox").each(function () {
                        if ($(this).val() == obj.kitchen_Ceiling) {

                            $(this).prop("checked", true);
                        }
                    }); //厨房顶棚
                    var kitchen_Ground = $("[name='kitchen_Ground']:checkbox").each(function () {
                        if ($(this).val() == obj.kitchen_Ground) {

                            $(this).prop("checked", true);
                        }
                    }); //厨房地面
                    var kitchen_Cooking = $("[name='kitchen_Cooking']:checkbox").each(function () {
                        if ($(this).val() == obj.kitchen_Cooking) {

                            $(this).prop("checked", true);
                        }
                    });//厨房灶台情况

                    var indoor_Explain = $("#indoor_Explain").val(obj.indoor_Explain);   //有关说明

                    var livingWall_Other = $("#livingWall_Other").val(obj.livingWall_Other);   //客厅内墙其他
                    var livingCeiling_Other = $("#livingCeiling_Other").val(obj.livingCeiling_Other);   //客厅顶棚其他
                    var livingGround_Other = $("#livingGround_Other").val(obj.livingGround_Other);   //客厅地面其他

                    var roomWall_Other = $("#roomWall_Other").val(obj.roomWall_Other);   //居室内墙其他
                    var roomCeiling_Other = $("#roomCeiling_Other").val(obj.roomCeiling_Other);   //居室顶棚其他
                    var roomGround_Other = $("#roomGround_Other").val(obj.roomGround_Other);   //居室地面其他


                    var toiletWall_Other = $("#toiletWall_Other").val(obj.toiletWall_Other);   //卫生间内墙其他
                    var toiletCeiling_Other = $("#toiletCeiling_Other").val(obj.toiletCeiling_Other);   //卫生间顶棚其他
                    var toiletGround_Other = $("#toiletGround_Other").val(obj.toiletGround_Other);   //卫生间地面其他
                    var toiletSanitary_Other = $("#toiletSanitary_Other").val(obj.toiletSanitary_Other);   //卫生间洁具其他

                    var kitchenWall_Other = $("#kitchenWall_Other").val(obj.kitchenWall_Other);   //厨房内墙其他
                    var kitchenCeiling_Other = $("#kitchenCeiling_Other").val(obj.kitchenCeiling_Other);   //厨房顶棚其他
                    var kitchenGround_Other = $("#kitchenGround_Other").val(obj.kitchenGround_Other);   //厨房地面其他
                    var kitchenCookingO_ther = $("#kitchenCookingO_ther").val(obj.kitchenCookingO_ther);   //厨房灶台其他
                }
                
            }
        })
    }//室内
</script>